Skip to content

release: v0.9.7 — packaged-build CSS fix + docs refresh#19

Merged
I4cTime merged 1 commit into
mainfrom
develop
May 14, 2026
Merged

release: v0.9.7 — packaged-build CSS fix + docs refresh#19
I4cTime merged 1 commit into
mainfrom
develop

Conversation

@I4cTime
Copy link
Copy Markdown
Owner

@I4cTime I4cTime commented May 14, 2026

Merges the v0.9.7 release into `main` per the process documented in ARCHITECTURE.md › Release process.

Tag and built artifacts: v0.9.7.

What's in this PR

Bug fix

  • `electron/main.ts`: replace blanket `pathname.includes("..")` traversal check with a per-segment check. The old check 403'd Turbopack's content-hashed CSS filenames (e.g. `16-.0wq_hn57..css`), which rendered packaged builds completely unstyled. Now only literal `..` / `.` path segments are rejected; dots inside filenames pass through.

Docs

  • New `ARCHITECTURE.md` (326 lines) — system diagram, renderer + backend layout, HTTP API contract, build-from-source, VM testing, pre-commit, contributing, release process.
  • `README.md` rewrite — social-card hero, CI/release/downloads/license badges, "Why ProtonShift?" intro, consolidated install section, ARCHITECTURE.md link, roadmap.

Housekeeping

  • Version 0.9.6 → 0.9.7 in all six sources (electron, renderer, `version`, AppStream metainfo with new `` entry, bug-report placeholder, nav-bar fallback).

Security

0 open Dependabot alerts. All 18 from the previous cycle closed by v0.9.6 and no new advisories.

Verification

  • `tsc` on Electron main: clean.
  • `next build` (static export, Next 16.2.6): clean, 8/8 routes prerendered.
  • Release build workflow: in progress at PR-open time (run 25888008358).

Made with Cursor

Bug fix
- electron/main.ts: the static-export server's path-traversal guard rejected
  any request whose path contained "..", which 403'd Turbopack's content-
  hashed CSS chunks (e.g. `16-.0wq_hn57..css`) and rendered the entire
  packaged app unstyled. Replace the substring check with a per-segment
  check that only rejects true traversal segments ("..", ".").

Docs
- New ARCHITECTURE.md (326 lines): system diagram, renderer/backend layout,
  HTTP API contract, project layout, build-from-source, VM testing harness,
  pre-commit checks, contributing guide, release process.
- README.md rewrite: social-card hero, CI/release/downloads/license badges,
  "Why ProtonShift?" framing, consolidated Install section with copy-pastable
  per-format commands, ARCHITECTURE.md link in the nav strip, roadmap.

Version bump 0.9.6 -> 0.9.7 in all sources
- electron/package.json
- electron/renderer/package.json
- src/game_setup_hub/__init__.py
- assets/io.github.protonshift.metainfo.xml (new <release> entry, 2026-05-14)
- .github/ISSUE_TEMPLATE/bug_report.yml placeholder
- electron/renderer/src/components/nav-bar.tsx fallback string

Verification
- tsc on electron main: clean.
- next build (static export, Next 16.2.6): clean, 8/8 routes prerendered.
- 0 open Dependabot alerts on this branch (all 18 closed by v0.9.6).

Co-authored-by: Cursor <cursoragent@cursor.com>
@I4cTime I4cTime merged commit 7f9c5e7 into main May 14, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant